home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0295.lzh / AMOSLIST / text0172.txt < prev    next >
Encoding:
Text File  |  1995-03-01  |  1.4 KB  |  38 lines

  1. >    I need a(n assembly) routine to let menus stay on screen until RMB is pressed,
  2. >I mean: u press RMB and menus appear, but I need they stay even if u leave the
  3. >utton, to work u should press the button again.
  4. >
  5. >    Also Id like to know what kind of problems a menu can cause: if I have animati
  6. >ns, will they go? (either by Anim or within Amal... etc.) Have u find problems
  7. >ith music or other "background tasks"?
  8. >
  9. >                    Thankx in advance!
  10. >
  11. >            Andy - naimoli@cli.di.unipi.it
  12.  
  13. Hi,
  14.  
  15.   If I understand your problem correctly, you want a menu to drop down and
  16. present a list of options, and for the main program to continue running
  17. regardless of whether the RMB has been pressed again or not. Unless the Amos
  18. menu system is OS/Magic-Menu (or other program) compliant, which it almost
  19. certainly isn't, you will have to write your own routine to draw a box, border
  20. it, list the options, and then check for mouse click within the "menu". This
  21. isn't really very difficult, and you can periodically check from within the
  22. main program for a menu action.
  23.  
  24.   However if what you want is for the main program to update the screen *under*
  25. the menu bar, then life suddenly becomes very interesting indeed. (I'd
  26. recommend redesigning the interface, it would take much less time to do, and
  27. wouldn't slow the program down). Alternatively use windows, but these really
  28. suck when used with AMAL.
  29.  
  30.   Nick
  31.  
  32. ------------------------------------
  33. "Lurk, Lurk, Lurk!" said the Lurker.
  34.  
  35.  
  36.  
  37.  
  38.